A Data ow Semantics for Constraint
نویسندگان
چکیده
This paper introduces an alternative operational model for constraint logic programs. First, a transition system is introduced, which is used to deene a trace semantics T. Next, an equivalent xpoint semantics F is deened: a dataaow graph is assigned to a program, and a consequence operator on tuples of sets of constraints is given whose least xpoint determines one set of constraints for each node of the dataaow graph. To prove that F and T are equivalent, an intermediate semantics O is used, which propagates a given set of constraints through the paths of the dataaow graph. Possible applications of F (and O) are discussed: in particular, its incrementality is used to deene a parallel execution model for clp's based on asynchronous processors assigned to the nodes of the program graph. Moreover, O is used to formalize the Intermittent Assertion Method of Burstall Bur74] for constraint logic programs.
منابع مشابه
A Data ow Semantics for Constraint Logic Programs
This paper introduces an alternative operational model for constraint logic programs First a transition system is introduced which is used to de ne a trace semantics T Next an equivalent xpoint se mantics F is de ned a data ow graph is assigned to a program and a consequence operator on tuples of sets of constraints is given whose least xpoint determines one set of constraints for each node of ...
متن کاملAbstracting Synchronization in Concurrent Constraint Programming
ing Synchronization in Concurrent Constraint Programming ? Enea Za anella1 Roberto Giacobazzi2 Giorgio Levi1 1 Dipartimento di Informatica, Universit a di Pisa Corso Italia 40, 56125 Pisa (za anel,levi)@di.unipi.it 2 LIX, Laboratoire d'Informatique, Ecole Polytechnique 91128 Palaiseau cedex [email protected] Abstract. Because of synchronization based on blocking ask, some of the most i...
متن کاملInterprocedural Analysis Based on PDAs
We systematically explore the design space of constraint systems for interprocedural analysis both of imperative and logic languages. Our framework is based on a small-step operational semantics where both the concrete and the abstract operational semantics are formalized by means of (input-free) pushdown automata. We consider the analysis problem of derivability and present constraint systems ...
متن کاملFlow Logics for Constraint Based Analysis
Flow logic ooers a compact and versatile notation for expressing the acceptability of solutions to program analysis problems. In contrast to previous logical formulations of program analysis it aims at integrating existing approaches to data ow analysis and control ow analysis. It is able to deal with a broad variety of language paradigms, program properties, kinds of formal semantics, and meth...
متن کاملVeri cation and Debugging of Concurrent Constraint Programs through Abstract Interpretation with Set Constraints
The existing automated veri cation methods apply mainly to those concurrent systems where the number of concurrent processes is statically xed and the data dependencies of the control ow are simple Systems that are speci ed and programmed in the concurrent constraint programming paradigm cc speci cally overcome those two limitations There memory states are modeled by logical formulae constraint...
متن کامل